﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Inventor4.Master" AutoEventWireup="true" CodeBehind="PsDetails.aspx.cs" Inherits="HospitalSystem.PsDetails" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">

        .style1
        {
            font-size: x-large;
            color: #0000FF;
        }
        .style5
        {
            font-size: medium;
            font-weight: normal;
        }
        .style6
        {
            color: #FF0066;
        }
        .style7
        {
            color: #006600;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">
    <div id="sidebar">
					<ul>
						<li>
							<h2>ข้อมูลเด็ก</h2>
							<ul>
								<li><a href="findchild.aspx">ค้นหาเด็ก</a></li>
										 <li id="menu-item-7" class="menu-item menu-item-type-post_type current-menu-item page_item page-item-2 current_page_item current_page_parent menu-item-7"><a href="servicerecord.aspx">ข้อมูลเด็ก</a></li>
								
								<li><a href="servicerecord2.aspx">การส่งเสริมการศึกษา</a></li>
                                <li><a href="rechealthpromotion.aspx">การส่งเสริมสุขภาพ</a></li>
                                <li><a href="recpromotedevelopment.aspx">การส่งเสริมพัฒนาการ</a></li>
                           
                                <li><a href="recintegrationforward.aspx">การประสานส่งต่อ</a></li>
							  <li><a href="recmore.aspx">กิจกรรมอื่นๆ</a></li>
                              
                                  <li><asp:Image ID="Image1" runat="server" Height="162px" Width="179px" />
                                      ชื่อ<br />
                                      &lt;asp:Label ID=&quot;Label2&quot; runat=&quot;server&quot; Text=&quot;Label&quot;&gt;&lt;/asp:Label&gt;<br />
                                      &amp;nbsp; นามสกุล<br />
                                      &lt;asp:Label ID=&quot;Label3&quot; runat=&quot;server&quot; Text=&quot;Label&quot;&gt;&lt;/asp:Label&gt;<br />
                                      &lt;br /&gt;<br />
                                      <br />
                                      เลขบัตรประชาชน&amp;nbsp;&lt;asp:Label ID=&quot;Label4&quot; runat=&quot;server&quot; 
                                      Text=&quot;Label&quot;&gt;&lt;/asp:Label&gt;</li>
							</ul>
						</li>
					</ul>
				</div>


</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <span class="style1">ขณะนี้คุณกำลังทำรายการบันทึกให้บริการของ </span>&nbsp;<br />
    ชื่อ
    <asp:Label ID="fname" runat="server" Text="Label"></asp:Label>
&nbsp; นามสกุล
    <asp:Label ID="lname" runat="server" Text="Label"></asp:Label>
    <br />เลขบัตรประชาชน&nbsp;<asp:Label ID="cid_label" runat="server" Text="Label"></asp:Label>
    <br />
    <br />
    <strong>
    <span class="style6">ประวัติบันทึกให้บริการ<br />
    <br />
    </span>
    <span class="style7">ส่งเสริมการศึกษา</span></strong><br />
    <br />
        <asp:GridView ID="showrec" runat="server" 
        AutoGenerateColumns="False" AllowPaging="True" AllowSorting="True" 
        onpageindexchanging="familylist_SelectedIndexChanged" PageSize="15" 
            CssClass="style5" 
        >
            <Columns>
               
             
                  <asp:HyperLinkField   
                    HeaderText="บริการครั้งที่"  
                    DataNavigateUrlFields="cid"  
                    DataNavigateUrlFormatString="~/FamilyDetails.aspx?CID={0}"  
                    DataTextField="ps"  
                    />

                       <asp:HyperLinkField   
                    HeaderText="รายละเอียด"  
                    DataNavigateUrlFields="cid"  
                    DataNavigateUrlFormatString="~/FamilyDetails.aspx?CID={0}"  
                    DataTextField="dec"  
                    />
              
            </Columns>
            <AlternatingRowStyle BackColor="White" />
            <EditRowStyle BackColor="#2461BF" />
            <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
            <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
            <PagerSettings FirstPageText="First" LastPageText="Last" 
            Mode="NumericFirstLast" PageButtonCount="3" />
            <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
            <RowStyle BackColor="#EFF3FB" />
            <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
            <SortedAscendingCellStyle BackColor="#F5F7FB" />
            <SortedAscendingHeaderStyle BackColor="#6D95E1" />
            <SortedDescendingCellStyle BackColor="#E9EBEF" />
            <SortedDescendingHeaderStyle BackColor="#4870BE" />
        </asp:GridView>
        <br />
    <span class="style7">
    <strong>
    ส่งเสริมสุขภาพ</strong></span><br />
        <asp:GridView ID="showrec0" runat="server" 
        AutoGenerateColumns="False" AllowPaging="True" AllowSorting="True" 
        onpageindexchanging="familylist_SelectedIndexChanged2" PageSize="15" 
            CssClass="style5" 
        >
            <Columns>
               
             
                  <asp:HyperLinkField   
                    HeaderText="บริการครั้งที่"  
                    DataNavigateUrlFields="cid"  
                    DataNavigateUrlFormatString="~/FamilyDetails.aspx?CID={0}"  
                    DataTextField="ps"  
                    />

                       <asp:HyperLinkField   
                    HeaderText="รายละเอียด"  
                    DataNavigateUrlFields="cid"  
                    DataNavigateUrlFormatString="~/FamilyDetails.aspx?CID={0}"  
                    DataTextField="dec"  
                    />
              
            </Columns>
            <AlternatingRowStyle BackColor="White" />
            <EditRowStyle BackColor="#2461BF" />
            <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
            <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
            <PagerSettings FirstPageText="First" LastPageText="Last" 
            Mode="NumericFirstLast" PageButtonCount="3" />
            <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
            <RowStyle BackColor="#EFF3FB" />
            <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
            <SortedAscendingCellStyle BackColor="#F5F7FB" />
            <SortedAscendingHeaderStyle BackColor="#6D95E1" />
            <SortedDescendingCellStyle BackColor="#E9EBEF" />
            <SortedDescendingHeaderStyle BackColor="#4870BE" />
        </asp:GridView>
        <br />
    <br />
    <br />
    <asp:Button ID="Button1" runat="server" Height="25px" Text="กลับ" 
        Width="142px" onclick="Button1_Click" />
    &nbsp;&nbsp;&nbsp;
    <asp:Label ID="caseno" runat="server" Text="Label" Visible="False"></asp:Label>
        <asp:Label ID="HostID" runat="server" Text="1" Visible="False"></asp:Label>
        <asp:Label ID="StaffID" runat="server" Text="1" Visible="False"></asp:Label>
        <asp:Label ID="psnumber" runat="server" Text="Label" Visible="False"></asp:Label>
    <asp:Label ID="SelectStat" runat="server" Visible="False"></asp:Label>
    <br />
    </asp:Content>
